home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000082_tim@maths.tcd.ie_Thu Dec 22 14:27:10 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  2KB

  1. Received: from salmon.maths.tcd.ie by cs.umb.edu with SMTP id AA28375
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 22 Dec 1994 14:27:10 -0500
  3. Received: from hamilton.maths.tcd.ie by salmon.maths.tcd.ie  with SMTP
  4.           id aa15539; 22 Dec 94 19:27 GMT
  5. Subject: Re: problems with web2c.kpathsea-2.5.help
  6. To: David Starks-Browning <dstarks@willard.rc.tudelft.nl>
  7. Date: Thu, 22 Dec 1994 19:27:02 (GMT)
  8. From: Timothy Murphy <tim@maths.tcd.ie>
  9. Cc: tex-k@cs.umb.edu
  10. In-Reply-To: <9412221646.AA10466@willard.rc.tudelft.nl> from "David Starks-Browning" at Dec 22, 94 06:46:27 pm
  11. X-Mailer: ELM [version 2.4 PL21]
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Transfer-Encoding: 7bit
  15. Content-Length: 986       
  16. Message-Id:  <9412221927.aa27104@hamilton.maths.tcd.ie>
  17.  
  18. > I am having difficulty compiling web2c-6.1 with the patch in
  19. > web2c.kpathsea-2.5.help.  I get a segmentation fault during "make
  20. > run-triptrap".
  21. ...
  22. > dbx shows:
  23. ...
  24. > (dbx) where
  25. > >  0 .strcmp.strcmp(0x0, 0x100063a4, 0x3d, 0x3c, 0x0, 0x46a150) ["atoi.c":56, 0x47480c]
  26. >    1 kpse_make_tex(format = kpse_tfm_format, base = 0x100b89f9 = "mumble.tfm") ["tex-make.c":221, 0x46aacc]
  27.  
  28. Are you sure you had the latest web2c.kpathsea-2.5.help ?
  29. This is exactly where Karl's code caused a problem,
  30. because getenv() returned NULL if the environment variable wasn't defined.
  31.  
  32. The code round this point should read:
  33.  
  34. =========================================
  35.       mode = getenv ("MAKETEX_MODE");
  36.       if (mode && STREQ (mode, DIR_SEP_STRING))
  37.         xputenv ("MAKETEX_MODE", "");
  38.       args = arg_spec ? kpse_var_expand (arg_spec) : (string) "";
  39.       if (mode && STREQ (mode, DIR_SEP_STRING))
  40.         xputenv ("MAKETEX_MODE", DIR_SEP_STRING);
  41. =========================================
  42.